package com.ruoyi.financial.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.financial.bo.SettingCustOddsBo;
import com.ruoyi.financial.domain.FOddsRule;

/**
 * 赔付规则Service接口
 *
 * @author ruoyi
 * @date 2025-02-06
 */
public interface IFOddsRuleService
{
    /**
     * 查询赔付规则
     *
     * @param id 赔付规则主键
     * @return 赔付规则
     */
    public FOddsRule selectFOddsRuleById(Long id);

    /**
     * 查询赔付规则列表
     *
     * @param fOddsRule 赔付规则
     * @return 赔付规则集合
     */
    public List<FOddsRule> selectFOddsRuleList(FOddsRule fOddsRule);

    /**
     * 新增赔付规则
     *
     * @param fOddsRule 赔付规则
     * @return 结果
     */
    public int insertFOddsRule(FOddsRule fOddsRule);

    /**
     * 修改赔付规则
     *
     * @param fOddsRule 赔付规则
     * @return 结果
     */
    public int updateFOddsRule(FOddsRule fOddsRule);

    /**
     * 批量删除赔付规则
     *
     * @param ids 需要删除的赔付规则主键集合
     * @return 结果
     */
    public int deleteFOddsRuleByIds(Long[] ids);

    /**
     * 删除赔付规则信息
     *
     * @param id 赔付规则主键
     * @return 结果
     */
    public int deleteFOddsRuleById(Long id);

    Map<String, Object> custOddsList(Long bankerId,Long custId,Integer custType);

    void settingCustOdds(SettingCustOddsBo bo);
}
